package com.pervasive.project.unified.data.model.request;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementArray;
import org.simpleframework.xml.Root;

import com.pervasive.project.unified.data.constants.Constants;

@Root
public class AddToHandRequest {

	@Element(name="userName")
	private String userName;
	
	@Element(name="score")
	private int score;
	
	@Element(name="cardId")
	private Constants.cardId cardId;
	
	@ElementArray(name="imageArray")
	private byte[] imageArray;
	
	public AddToHandRequest(Constants.cardId card_Id, String userName, byte[] imageArray, int score)
	{
		this.cardId = card_Id;
		this.userName = userName;
		this.imageArray = imageArray;
		this.score = score;
	}
	
	public AddToHandRequest(){}
	
	public String getUserName() {
		return userName;
	}

	public byte[] getImageArray() {
		return imageArray;
	}

	public Constants.cardId getCardName() {
		return cardId;
	}

	public int getScore() {
		return score;
	}
	
	
}
